<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>

    *{
        margin: 0px auto;
    }
        div{
            padding-top:5px;
            border: solid 1px #666666;
            width:140px;
            height: 60px;
            background: url("../image/button.png") no-repeat 0px -60px;
            color: #b3ffe7;
            text-align: center;
            vertical-align:middle;
            font-size: 25px;
        }
    </style>
    <script>
        function h1(obj){
            obj.style.backgroundPositionY= "-60px" ;
        }
        function h2(obj){
            obj.style.backgroundPositionY= 0 ;
        }
    </script>
</head>
<body>
    <div onmouseover="h1(this)" onmouseout="h2(this)">
        开始游戏
    </div>
</body>
</html>